package com.demo.widget;

import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
import ohos.agp.window.service.WindowManager;

public class BaseAbility extends Ability {
    @Override
    protected void onStart(Intent intent) {
        WindowManager.getInstance().getTopWindow().get().setStatusBarColor(getColor(ResourceTable.Color_colorStatusBar));
        super.onStart(intent);
    }
}
